package com.ys.openapi.process;

/**
 * 提交请求体
 */
public class RequestCommitProcess {
    private String workflowCode;//流程模板编码": "pay",
    private String   workItemId="null";//": null,
    private String workflowInstanceId="null";//流程实例id": null
    private boolean agree=true;//": true,
    private String actionCode="agree";//: "submit",
   // private String depatmentId;//": "2c2c80867ab40ee9017aca0657a30636",
    private String formType="1";//: "1",
    private String replayToken;//": "REPLAY18b51239562b457baa1288be36201d07"
    private BizObject bizObject ;//业务对象
    private Approval approval;//流程审批信息

    public String getWorkflowCode() {
        return workflowCode;
    }

    public void setWorkflowCode(String workflowCode) {
        this.workflowCode = workflowCode;
    }

    public String getWorkItemId() {
        return workItemId;
    }

    public void setWorkItemId(String workItemId) {
        this.workItemId = workItemId;
    }

    public String getWorkflowInstanceId() {
        return workflowInstanceId;
    }

    public void setWorkflowInstanceId(String workflowInstanceId) {
        this.workflowInstanceId = workflowInstanceId;
    }

    public boolean isAgree() {
        return agree;
    }

    public void setAgree(boolean agree) {
        this.agree = agree;
    }

    public String getActionCode() {
        return actionCode;
    }

    public void setActionCode(String actionCode) {
        this.actionCode = actionCode;
    }



    public String getFormType() {
        return formType;
    }

    public void setFormType(String formType) {
        this.formType = formType;
    }

    public String getReplayToken() {
        return replayToken;
    }

    public void setReplayToken(String replayToken) {
        this.replayToken = replayToken;
    }

    public BizObject getBizObject() {
        return bizObject;
    }

    public void setBizObject(BizObject bizObject) {
        this.bizObject = bizObject;
    }

    public Approval getApproval() {
        return approval;
    }

    public void setApproval(Approval approval) {
        this.approval = approval;
    }
}
 /*  "workflowCode":"pay",
               "workItemId":"4a77b8e0b21c445b9c8fe4693f54c469",
               "workflowInstanceId":"4b9756c507f64658847e6ac532ac4ec6",
               "bizObject":{
        "id":"0fd3e623453523542",
                "data":{
            "ShortText1628921911277":"44",
                    "id":"0fd3e623453523542",
                    "sequenceNo":"2021-001098"
        },
        "schemaCode":"pay",
                "sheetCode":"pay",
                "workflowInstanceId":"4b9756c507f64658847e6ac532ac4ec6"
    },
            "approval":{
               "content":"同意",
                "workItemId":"4a77b8e0b21c445b9c8fe4693f54c469",
                "workflowInstanceId":"4b9756c507f64658847e6ac532ac4ec6",
                "workflowTokenId":"f9d43fb9119643ee938205c922e88608",
                "activityCode":"Activity3",
                "activityName":"审批",
                "result":1
    },
            "agree":true,
            "actionCode":"agree",
            "formType":"1",
            "replayToken":"REPLAYaeba3945c272468dbe82d6d31ba40c45"*/